from a0base.base_llm import zhipu_langchain_llm

# 1-定义对话上下文
messages = [
    {"role": "system", "content": "You are a helpful assistant! Your name is Bob."},
    {"role": "user", "content": "你是谁？"},
]
print("----chat_prompt_message:", messages)

# 2-打印
print("-----Hold on, LLM 正在回答！-----")
response = zhipu_langchain_llm.invoke(messages)
print("----response:", response)
